package guoanmaker.operator.business.modelnobind;

import java.util.Date;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter

public class OperatorCommodityRo {
	private String id;
	private String commodityName; //商品名称
	private String isBargaining; //是否议价 1:议价 2:不可议价
	private Double startingPrice; //议价起始值
	private String invoiceMail;//发票邮寄
	private String isTerritoryRestriction;//是否有地域限制
	private Double CommodityOldPrice;//商品原价
	private Double commodityPrice; //商品现价
	private Double commodityPricePromotion;//商品促销价
	private Date startTime;//商品促销开始时间
	private Date endTime;//商品促销结束时间
	private String commodity_bigimage;//商品大图
	private String commodity_midimage;//商品中图
	private String commodity_smallimage;//商品小图
	private String description;//图文描述
	private Integer commodityState;//商品状态 1:待审核 2:审核通过 3:审核失败 4:下架 5:冻结
	private Date createTime; //创建时间
	private String createName;//创建人
	private Date releaseTime;//发布时间
	private Integer stock;//商品库存
	private Integer populationRestriction;//人数限制
	private Date registrationStartTime;//报名开始时间
	private Date registrationEndTime;//报名结束时间
	private String synopsis;//商品简介
	private String type;//商品所属大类
	private String businessName;//商户名称
	private String serverName;
	private String reasonName;     //拒绝原因（存名称）
	private Integer salesVolume;//商品销售量
	private Date refuseTime;  //拒绝时间
	
	private String reasoncontent; //审批内容
	private Double finalPrice;//最终价格
	private Integer commodityCode;//商品编号
	
	
	private String servicecity;
	private String  shopname;//店铺名称
	
	private String  busid;//商户id
	
	private String storeid;//店铺id
	
	private String companyName;
	public OperatorCommodityRo() {
		super();
	}

	
	//待审核的商品
	/**
	 * 
	 * @param commodityName           商品名称
	 * @param commodityPrice          商品价格
	 * @param commodityState          商品状态
	 * @param createTime              申请时间
	 * @param businessName            申请店铺
	 * @param serverName              种类名称
	 * @param reasonName              拒绝原因/下架原因
	 * @param refuseTime              拒绝时间/下架时间
	 * @param releaseTime             上架时间
	 * @param commoditysales          销量
	 */

	public OperatorCommodityRo(String id, String commodityName, Double commodityPrice, String commodity_smallimage,
			Integer commodityState, Date createTime, Date releaseTime, String businessName, String serverName,
			Integer salesVolume,String reasoncontent,Double finalPrice,Integer commodityCode,String shopname,String busid,String storeid, String companyName) {
		super();
		this.id = id;
		this.commodityName = commodityName;
		this.commodityPrice = commodityPrice;
		this.commodity_smallimage = commodity_smallimage;
		this.commodityState = commodityState;
		this.createTime = createTime;
		this.releaseTime = releaseTime;
		this.businessName = businessName;
		this.serverName = serverName;
		this.salesVolume = salesVolume;
		this.reasoncontent = reasoncontent;
		this.finalPrice = finalPrice;
		this.commodityCode = commodityCode;
		this.shopname = shopname;
		this.busid = busid;
		this.storeid = storeid;
		this.companyName = companyName;
	}
	public OperatorCommodityRo(String id, String commodityName, Double commodityPrice, String commodity_smallimage,
			Integer commodityState, Date createTime, Date releaseTime, String businessName, String serverName,
			Integer salesVolume,String reasoncontent,Double finalPrice,Integer commodityCode, String synopsis,
			String isBargaining,Double startingPrice,String isTerritoryRestriction) {
		this.id = id;
		this.commodityName = commodityName;
		this.commodityPrice = commodityPrice;
		this.commodity_smallimage = commodity_smallimage;
		this.commodityState = commodityState;
		this.createTime = createTime;
		this.releaseTime = releaseTime;
		this.businessName = businessName;
		this.serverName = serverName;
		this.salesVolume = salesVolume;
		this.reasoncontent = reasoncontent;
		this.finalPrice = finalPrice;
		this.commodityCode = commodityCode;
		this.synopsis = synopsis;
		this.isBargaining = isBargaining;
		this.startingPrice = startingPrice;
		this.isTerritoryRestriction = isTerritoryRestriction;
	}
	
	
	
	
	
	
	
}
